<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Notifications\Notifiable;

class AdminEstateRole extends Model
{
    use Notifiable;

    protected $table   = 'admin_estate_role';
    protected $guarded = [];


    public function menus()
    {
        return $this->hasMany(EstateMenu::class, 'estate_role_menus', 'role_id');
    }
}
